import { CzmViewer } from 'xbsj-xe2/dist-node/xe2-cesium-objects';
import { bind } from 'xbsj-xe2/dist-node/xe2-base-utils';
import { Vector } from "xbsj-xe2/dist-node/xe2-math";
import { CzmESGeoPolygon, ESGeoPolygon } from 'esobjs-xe2-plugin/dist-node/esobjs-xe2-plugin-main';
import { ESRtsPolygon } from '.';


export class CzmESRtsPolygon extends CzmESGeoPolygon<ESRtsPolygon> {
    static override readonly type = this.register(ESRtsPolygon.type, this);

    constructor(sceneObject: ESRtsPolygon, czmViewer: CzmViewer) {
        super(sceneObject, czmViewer);
        const viewer = czmViewer.viewer;
        if (!viewer) {
            console.warn(`viewer is undefined!`);
            return;
        }
    }
}